﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MI.ORM.IDAL;

namespace MI.ORM.DAL
{
    public class UnitOfWork : IUnitOfWork
    {
        public UnitOfWork(IDatabase database)
        {
            Database = database;
        }

        public IDatabase Database
        {
            get;
            set;
        }

        public void Commit()
        {
            Database.Commit();
        }
    }
}
